import java.util.Arrays;

public class test {

    public static void main(String[] args) {
        int[] elem = {5,18,7,21,9};
        insort.insersort(elem);
        System.out.println(Arrays.toString(elem));
    }
}
